import {createApp} from 'vue'
import App from './App.vue'
import './base.css'

import ElementPlusX from 'vue-element-plus-x'

// 导入Element Plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'


import 'md-editor-v3/lib/style.css';
// 导入路由
import router from './router'

// 导入Pinia
import pinia from './store'

// 导入axios
import axios from 'axios'

// Avue
import Avue from '@smallwei/avue';
import '@smallwei/avue/lib/index.css';
// 创建应用实例
const app = createApp(App)

// 使用插件
app.use(ElementPlus)
app.use(router)
app.use(pinia)
app.use(ElementPlusX)
app.use(Avue, {
    size:'small',
    axios:axios})
// 挂载应用
app.mount('#app')
